<html>
<head><meta charset="utf-8"><title>I-prioritize #71471 thread &#x27;rustc&#x27; panicked at &#x27;begin &lt;= end · t-compiler/wg-prioritization · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/index.html">t-compiler/wg-prioritization</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2371471.20thread.20&#x27;rustc&#x27;.20panicked.20at.20&#x27;begin.20.3C.3D.20end.html">I-prioritize #71471 thread &#x27;rustc&#x27; panicked at &#x27;begin &lt;= end</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="195082640"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2371471%20thread%20%27rustc%27%20panicked%20at%20%27begin%20%3C%3D%20end/near/195082640" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> triagebot <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2371471.20thread.20&#x27;rustc&#x27;.20panicked.20at.20&#x27;begin.20.3C.3D.20end.html#195082640">(Apr 23 2020 at 16:01)</a>:</h4>
<p><span class="user-group-mention" data-user-group-id="2403">@WG-prioritization</span> issue <a href="https://github.com/rust-lang/rust/issues/71471" title="https://github.com/rust-lang/rust/issues/71471">#71471</a> has been requested for prioritization.</p>



<a name="195083485"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2371471%20thread%20%27rustc%27%20panicked%20at%20%27begin%20%3C%3D%20end/near/195083485" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2371471.20thread.20&#x27;rustc&#x27;.20panicked.20at.20&#x27;begin.20.3C.3D.20end.html#195083485">(Apr 23 2020 at 16:06)</a>:</h4>
<p>Seems like a <code>P-low</code> for me</p>



<a name="195084009"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2371471%20thread%20%27rustc%27%20panicked%20at%20%27begin%20%3C%3D%20end/near/195084009" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2371471.20thread.20&#x27;rustc&#x27;.20panicked.20at.20&#x27;begin.20.3C.3D.20end.html#195084009">(Apr 23 2020 at 16:11)</a>:</h4>
<p>I wonder when this bug appeared</p>



<a name="195084175"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2371471%20thread%20%27rustc%27%20panicked%20at%20%27begin%20%3C%3D%20end/near/195084175" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2371471.20thread.20&#x27;rustc&#x27;.20panicked.20at.20&#x27;begin.20.3C.3D.20end.html#195084175">(Apr 23 2020 at 16:12)</a>:</h4>
<p>Oh, this nightly, ok</p>



<a name="195092432"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2371471%20thread%20%27rustc%27%20panicked%20at%20%27begin%20%3C%3D%20end/near/195092432" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2371471.20thread.20&#x27;rustc&#x27;.20panicked.20at.20&#x27;begin.20.3C.3D.20end.html#195092432">(Apr 23 2020 at 17:15)</a>:</h4>
<p><code>P-low</code>, if someone has a different idea for some reason let us know</p>



<a name="195092562"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2371471%20thread%20%27rustc%27%20panicked%20at%20%27begin%20%3C%3D%20end/near/195092562" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> triagebot <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2371471.20thread.20&#x27;rustc&#x27;.20panicked.20at.20&#x27;begin.20.3C.3D.20end.html#195092562">(Apr 23 2020 at 17:17)</a>:</h4>
<p>Issue <a href="https://github.com/rust-lang/rust/issues/71471" title="https://github.com/rust-lang/rust/issues/71471">#71471</a>'s prioritization request has been removed.</p>



<a name="195092837"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2371471%20thread%20%27rustc%27%20panicked%20at%20%27begin%20%3C%3D%20end/near/195092837" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Russell Cohen <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2371471.20thread.20&#x27;rustc&#x27;.20panicked.20at.20&#x27;begin.20.3C.3D.20end.html#195092837">(Apr 23 2020 at 17:19)</a>:</h4>
<p>I'm doing a quick investigation, but it probably came from my changes to allow more invalid raw strings into the parser level to give better errors.</p>



<a name="195093865"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2371471%20thread%20%27rustc%27%20panicked%20at%20%27begin%20%3C%3D%20end/near/195093865" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2371471.20thread.20&#x27;rustc&#x27;.20panicked.20at.20&#x27;begin.20.3C.3D.20end.html#195093865">(Apr 23 2020 at 17:26)</a>:</h4>
<p>link to your changes?</p>



<a name="195093960"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2371471%20thread%20%27rustc%27%20panicked%20at%20%27begin%20%3C%3D%20end/near/195093960" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2371471.20thread.20&#x27;rustc&#x27;.20panicked.20at.20&#x27;begin.20.3C.3D.20end.html#195093960">(Apr 23 2020 at 17:27)</a>:</h4>
<p><span class="user-mention" data-user-id="279742">@Russell Cohen</span> maybe add the link to your changes in the issue</p>



<a name="195095582"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2371471%20thread%20%27rustc%27%20panicked%20at%20%27begin%20%3C%3D%20end/near/195095582" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Russell Cohen <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2371471.20thread.20&#x27;rustc&#x27;.20panicked.20at.20&#x27;begin.20.3C.3D.20end.html#195095582">(Apr 23 2020 at 17:41)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/pull/70522" title="https://github.com/rust-lang/rust/pull/70522">https://github.com/rust-lang/rust/pull/70522</a></p>



<a name="195097486"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2371471%20thread%20%27rustc%27%20panicked%20at%20%27begin%20%3C%3D%20end/near/195097486" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Russell Cohen <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2371471.20thread.20&#x27;rustc&#x27;.20panicked.20at.20&#x27;begin.20.3C.3D.20end.html#195097486">(Apr 23 2020 at 17:57)</a>:</h4>
<p>Actually I'm pretty sure this is from <a href="https://github.com/rust-lang/rust/pull/71372/files" title="https://github.com/rust-lang/rust/pull/71372/files">https://github.com/rust-lang/rust/pull/71372/files</a></p>



<a name="195098552"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2371471%20thread%20%27rustc%27%20panicked%20at%20%27begin%20%3C%3D%20end/near/195098552" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Russell Cohen <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2371471.20thread.20&#x27;rustc&#x27;.20panicked.20at.20&#x27;begin.20.3C.3D.20end.html#195098552">(Apr 23 2020 at 18:06)</a>:</h4>
<p><span class="user-mention" data-user-id="116266">@Santiago Pastorino</span> I think we may want to actually prioritize this? It causes things that aren't shebangs (because it's not actually the first line of the file) to be interpreted as a shebang (which then is ignored by the rust compiler). It seems like it _could_ break actual valid code in weird cases although I can't think of anything off the top of my head. It would have to begin with <code>#!</code> but have a third character that wasn't <code>[</code> which is explicitly checked for</p>



<a name="195108895"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2371471%20thread%20%27rustc%27%20panicked%20at%20%27begin%20%3C%3D%20end/near/195108895" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2371471.20thread.20&#x27;rustc&#x27;.20panicked.20at.20&#x27;begin.20.3C.3D.20end.html#195108895">(Apr 23 2020 at 19:32)</a>:</h4>
<p>yeah, unsure what that may be</p>



<a name="195109025"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2371471%20thread%20%27rustc%27%20panicked%20at%20%27begin%20%3C%3D%20end/near/195109025" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2371471.20thread.20&#x27;rustc&#x27;.20panicked.20at.20&#x27;begin.20.3C.3D.20end.html#195109025">(Apr 23 2020 at 19:33)</a>:</h4>
<p>I'm inclined to leave this as <code>P-low</code> but if this breaks something that's actually possible in Rust code yeah we should bump priority for sure</p>



<a name="195109026"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2371471%20thread%20%27rustc%27%20panicked%20at%20%27begin%20%3C%3D%20end/near/195109026" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2371471.20thread.20&#x27;rustc&#x27;.20panicked.20at.20&#x27;begin.20.3C.3D.20end.html#195109026">(Apr 23 2020 at 19:33)</a>:</h4>
<p>cc <span class="user-group-mention" data-user-group-id="2403">@WG-prioritization</span></p>



<a name="195109124"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2371471%20thread%20%27rustc%27%20panicked%20at%20%27begin%20%3C%3D%20end/near/195109124" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2371471.20thread.20&#x27;rustc&#x27;.20panicked.20at.20&#x27;begin.20.3C.3D.20end.html#195109124">(Apr 23 2020 at 19:34)</a>:</h4>
<p><span class="user-mention" data-user-id="279742">@Russell Cohen</span> anyway, if you're working on a fix it would be great :)</p>



<a name="195109174"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2371471%20thread%20%27rustc%27%20panicked%20at%20%27begin%20%3C%3D%20end/near/195109174" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2371471.20thread.20&#x27;rustc&#x27;.20panicked.20at.20&#x27;begin.20.3C.3D.20end.html#195109174">(Apr 23 2020 at 19:34)</a>:</h4>
<p>i'd say maybe P-medium?</p>



<a name="195110521"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2371471%20thread%20%27rustc%27%20panicked%20at%20%27begin%20%3C%3D%20end/near/195110521" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2371471.20thread.20&#x27;rustc&#x27;.20panicked.20at.20&#x27;begin.20.3C.3D.20end.html#195110521">(Apr 23 2020 at 19:46)</a>:</h4>
<p>yeah, to be honest no idea, I haven't looked hard at it but I guess until we don't see real Rust code that this break, it's not really important in my opinion</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>